package com.clutch.student;

import android.app.AlertDialog;
import android.content.DialogInterface;
import android.content.Intent;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
import android.widget.Toast;

import com.clutch.student.Dao.MyDatabaseHelper;
import com.clutch.student.Dao.UserDao;

public class MyActivity extends AppCompatActivity implements View.OnClickListener{
    Button btn;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.fragment_my);
    }

    @Override
    public void onClick(View view) {
        switch (view.getId()){
            case R.id.img_collect:
                Toast.makeText(MyActivity.this,"this is btn1",Toast.LENGTH_SHORT).show();
                break;
            case R.id.rl_skin:
                Toast.makeText(MyActivity.this,"this is btn2",Toast.LENGTH_SHORT).show();
                break;
            case R.id.rl_logout:
                Toast.makeText(MyActivity.this,"this is btn3",Toast.LENGTH_SHORT).show();
                break;

        }
    }
}

